package com.sim.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sim.base.DaoSupportImpl;
import com.sim.domain.SubsidizeType;
import com.sim.service.SubsidizeTypeService;
@Service
@Transactional
@SuppressWarnings("unchecked")
public class SubsidizeTypeServiceImpl extends DaoSupportImpl<SubsidizeType> implements SubsidizeTypeService{

	@Override
	public List<SubsidizeType> queryAll() {
		return getSession().createQuery(//
				"FROM SubsidizeType s")//
				.list();
	}

}
